<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="../../layui/css/layui.css" media="all">
	</head>
	<body>
		<!-- 模糊查询1.操作人，2.标题 -->
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">操作人</label>
					<div class="layui-input-inline">
						<input type="text" name="names" id="names" placeholder="请输入操作人" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">标题</label>
					<div class="layui-input-inline">
						<input type="text" name="titles" id="titles" placeholder="请输入标题" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即查询</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<table class="layui-hide" id="test" lay-filter="test"></table>
		<!-- from增加表单开始 -->
		<form class="layui-form" action="" id="from" style="display: none;" lay-filter="from">
			<div class="layui-form-item" style="display: none;">
				<label class="layui-form-label">编号</label>
				<div class="layui-input-block">
					<input type="text" name="afid" id="afid" lay-verify="title" placeholder="请输入编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">操做人</label>
				<div class="layui-input-block">
					<input type="text" name="name" id="name" lay-verify="title" placeholder="请输入操做人"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">标题</label>
				<div class="layui-input-block">
					<input type="text" name="title" id="title" lay-verify="title" placeholder="请输入标题"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">内容</label>
				<div class="layui-input-block">
					<textarea placeholder="公告内容" id="content" name="content" class="layui-textarea"></textarea>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">开始时间</label>
				<div class="layui-input-block" style="width: 630px;">
					<input type="text" name="createtime" id="createtime" lay-verify="title" placeholder="请输入开始时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<!-- from增加表单结束 -->
		<form class="layui-form" action="" style="display: none;" id="Affichefrom" lay-filter="Affichefrom">
			<div class="layui-form-item" style="display: none;">
				<label class="layui-form-label">编号</label>
				<div class="layui-input-block">
					<input type="text" name="afid" id="afid" lay-verify="title" placeholder="请输入编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">操做人</label>
				<div class="layui-input-block">
					<input type="text" name="name" id="name" lay-verify="title" placeholder="请输入操做人"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">标题</label>
				<div class="layui-input-block">
					<input type="text" name="title" id="title" lay-verify="title" placeholder="请输入标题"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">内容</label>
				<div class="layui-input-block">
					<input type="text" name="title" id="title" lay-verify="title" placeholder="请输入内容"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">开始时间</label>
				<div class="layui-input-block" style="width: 630px;">
					<input type="text" name="createtime" id="createtime" lay-verify="title" placeholder="请输入开始时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">删除时间</label>
				<div class="layui-input-block" style="width: 630px;">
					<input type="text" name="updatetime" id="updatetime" lay-verify="title" placeholder="请输入删除时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">内容</label>
				<div class="layui-input-block" contenteditable="true">
					<textarea placeholder="公告内容" id="content" name="content" class="layui-textarea"></textarea>
				</div>
			</div>
		</form>
	</body>
	<script type="text/html" id="toolbarDemo">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="getCheckData">增加</button>
			<!-- <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button>
			<button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button> -->
		</div>
	</script>

	<script type="text/html" id="barDemo">
		<a class="layui-btn layui-btn-xs layui-btn-radius " lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs layui-btn-radius " lay-event="del">删除</a>
		<a class="layui-btn layui-btn-xs layui-btn-radius " lay-event="select">查看</a>
		<!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> -->
	</script>

	<script src="../../js/jquery-1.8.3.min.js" charset="utf-8"></script>
	<script src="../../layui/layui.js" charset="utf-8"></script>
	<script src="AfficheTeacher.js" charset="utf-8"></script>
</html>
